package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    /**
     *
     * @param getCount
     * @param rows
     * @param customerName
     * @return
     */
    List<Customer> getCustomerList(@Param("getCount") int getCount,@Param("rows") Integer rows,@Param("customerName") String customerName);

    void save(Customer customer);

    void updateCustomer(Customer customer);

    void delete(String id);
}
